package com.syedu.day13.homework2;

import lombok.Data;

/**
 * description：
 * @author Administrator
 * @date 2022/3/29 9:02
 */
@Data
public class Student {
    private Long id;
    private static Long guid = 180201L;
    private String name;
    private Integer score;

    public Student() {
        this.id = guid++;
    }

    public Student(String name, Integer score) {
        this.id = guid++;
        this.name = name;
        this.score = score;
    }
}